/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controlador;

import logica.ModuloAltaSeccion;
import vista.panel.JPanelAltaSeccion;

/**
 *
 * @author Elias Mendoza
 */
public class ControladorJPanelAltaSeccion {
  public final JPanelAltaSeccion panel;
  ModuloAltaSeccion modulo;

  public ControladorJPanelAltaSeccion(JPanelAltaSeccion panel) {
    this.panel = panel;
  }
  
  public void registrarSeccion(){
    modulo = new ModuloAltaSeccion(this);
    Thread hilo= new Thread(modulo);   
    hilo.start();
  }
  
  
}
